<%@ page import="com.psl.model.userlogin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    userlogin userinfo = (userlogin) session.getAttribute("user");
    if (userinfo == null) {
        response.sendRedirect("/login.do");
    }%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>装箱单</title>
    <style>
        .grid {
            border: #cccccc solid 1px;
        }
    </style>
    <style media="print">
        .nobtn {
            border: none;
        }
    </style>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
    <table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="grid">
        <tbody>
        <tr>
            <td colspan="1" rowspan="2"><img src="../assets/img/logo.png" width="100px" height="60px" alt=""/></td>
            <td colspan="4"><span
                    style="font-family: Arial;font-size: 22px">SHANDONG PIPESOL FLOW EQUIPMENT CO.,LTD</span></td>
        </tr>
        <tr>
            <td colspan="4"><span style="font-family: Arial; font-size: 22px;">山东宜利达流体设备有限公司</span></td>
        </tr>
        <tr>
            <td colspan="2"><span style="font-family: Tahoma;font-size: 13px">ISSUER:SHANDONG PIPESOL FLOW EQUIPMENT CO.,LTD</span>
            </td>
            <td colspan="3"><span style="font-family: Tahoma;font-size: 20px">PACKING LIST</span></td>
        </tr>
        <tr>
            <td colspan="2"><span
                    style="font-family: Tahoma;font-size: 13px">NO.5188 MIZHOU EAST ROAD,ZHUCHENG CITY</span></td>
            <td colspan="3"><span style="font-family: 'Songti SC';font-size: 20px">装箱单</span></td>
        </tr>
        <tr>
            <td colspan="2">SHANDONG PROVINCE,CHINA</td>
            <td colspan="1">INVOICE NO.</td>
            <td colspan="2"><input class="nobtn" type="text" value=""/></td>
        </tr>
        <tr>
        <tr>
            <td colspan="2">CONSIGNEE:
                <input class="nobtn" type="text"/><br>
            </td>
            <td colspan="1">INVOICE DATE:</td>
            <td colspan="2"><input class="nobtn" type="date" value=""/></td>
        </tr>
        <tr>
            <td colspan="2">TEL: <input class="nobtn" type="text" value=""/></td>
            <td colspan="1">REF. NO.</td>
            <td colspan="2"><input class="nobtn" type="text" value=""/></td>
        </tr>
        <tr>
            <td colspan="2">EMAIL:<input class="nobtn" type="text" value=""/></td>
            <td colspan="1"> TERMS OF PRICE:</td>
            <td colspan="2"><input class="nobtn" type="text" value=""/></td>
        </tr>
        <tr>
            <td colspan="2">TRANSPORT DETAILS:<input class="nobtn" type="text" value=""/></td>
            <td colspan="1">TERMS OF PAYMENT:</td>
            <td colspan="2"><input class="nobtn" type="text" value=""/></td>
        </tr>
        <tr>
            <td bgcolor="#FFF9DF">MARKS</td>
            <td bgcolor="#FFF9DF">DISCRIPTION&SPECIFICATION</td>
            <td bgcolor="#FFF9DF">Q.TY</td>
            <td bgcolor="#FFF9DF">UNIT WEIGHT</td>
            <td bgcolor="#FFF9DF">TOTAL WEIGHT</td>
            <td bgcolor="#FFF9DF">CUBAGE</td>
        </tr>
        <c:forEach items="${jist}" var="l">
            <tr>
                <td align="center">${l.p_no}</td>
                <td align="center">${l.p_name}</td>
                <td align="center">${l.p_size}</td>
                <td align="center">${l.p_r}</td>
                <td align="center">${l.p_n}</td>
                <td align="center">${l.p_uw}</td>
                <td align="center">${l.p_up}</td>
                <td align="center">${l.p_zx}</td>
            </tr>
        </c:forEach>
        <tr align="center">
            <td colspan="5"><input class="nobtn" type="button" value="打印" onclick="print()"/></td>
        </tr>
        </tbody>
    </table>
</form>


</body>
</html>